package cn.wh.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @Author: HongXiaoHan
 * @Description
 * @Date: 2021/2/4 17:10
 */
@Controller
public class TestController {

    @ResponseBody
    @RequestMapping("/")
    public String test(){
        return "测试成功";
    }


    @RequestMapping("/userList")
    public String toUserList(){
        return "user_list";
    }

}
